package com.guigui.gulimall.product.feign;

import com.guigui.common.to.ware.WareStockVo;
import com.guigui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author xin
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/stock")
    List<WareStockVo> hasStock(@RequestBody List<Long> skuId);
}
